package com.mxx.democharts2.service;

import com.github.pagehelper.PageInfo;
import com.mxx.democharts2.dto.YuancheDto;
import com.mxx.democharts2.utils.PageQuery;
import com.mxx.democharts2.vo.YuancheQuery;

import java.util.Map;

public interface YuancheService {

    /**
     * 主齿元车期初数
     * @param lastMouth 上月编号 一月就是1
     * @return "product_new_code", "chuqi_count"
     */
    Map<String, Integer> getChuqiCount(int lastMouth) throws Exception;

    /**
     * 分页查询+条件查询 元车产出
     */
    PageInfo<YuancheDto> getYuancheList(PageQuery<YuancheQuery> yuanchePageQuery);
}
